package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.WarehousePlace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WarehousePlaceMapper {

    // 新增
    int insertSelective(WarehousePlace record);
    // 修改
    int updateByPrimaryKeySelective(WarehousePlace record);
    // 查询
    List<WarehousePlace> selectWarehousePlace(WarehousePlace warehousePlace);
    // 计数
    int countWarehousePlace(WarehousePlace warehousePlace);
    // 修改状态
    int definesWarehousePlace(@Param("warehousePlaceIds")Long[] warehousePlaceIds,@Param("dataState")Integer dataState);
    // 查重
    Integer queryWarehousePlace(WarehousePlace warehousePlace);
}